using System;

namespace OrbitOne.Elmah.DAL.Entities
{
    /// <summary>
    /// Represents an Elmah error entity.
    /// </summary>
    public class OrbitOneElmahErrorEntity
    {
        /// <summary>
        /// Gets or Sets the id of the Elmah error.
        /// </summary>
        public virtual Guid Id { get; set; }
        /// <summary>
        /// Gets or Sets the application name of the Elmah error.
        /// </summary>
        public virtual string ApplicationName{ get; set; }
        /// <summary>
        /// Gets or Sets the hostname of the Elmah error.
        /// </summary>
        public virtual string HostName { get; set; }
        /// <summary>
        /// Gets or Sets the exception type name of the Elmah error.
        /// </summary>
        public virtual string ExceptionType{ get; set; }
        /// <summary>
        /// Gets or Sets the source of the Elmah error.
        /// </summary>
        public virtual string Source { get; set; }
        /// <summary>
        /// Gets or Sets the error message of the Elmah error.
        /// </summary>
        public virtual string ErrorMessage { get; set; }
        /// <summary>
        /// Gets or Sets the username of the Elmah error.
        /// </summary>
        public virtual string UserName { get; set; }
        /// <summary>
        /// Gets or Sets the status codeof the Elmah error.
        /// </summary>
        public virtual int StatusCode { get; set; }
        /// <summary>
        /// Gets or Sets the happening time of the Elmah error.
        /// </summary>
        public virtual DateTime HappeningTime { get; set; }
        /// <summary>
        /// Gets or Sets the sequencial id of the Elmah error.
        /// </summary>
        public virtual int SequencialId { get; set; }
        /// <summary>
        /// Gets or Sets the xml of the Elmah error.
        /// </summary>
        public virtual string AllXml { get; set; }
        /// <summary>
        /// Gets or Sets the error level of the Elmah error.
        /// </summary>
        public virtual int ErrorLevel { get; set; }
        /// <summary>
        /// Gets or Sets the error type of the Elmah error.
        /// </summary>
        public virtual string ErrorType { get; set; }
        /// <summary>
        /// Gets or Sets the appliced rules of the Elmah error.
        /// </summary>
        public virtual string AppliedRules { get; set; }
    }
}
